class Base
{
	private int i = 2;
	
	public Base()
	{
		display();
	}
	
	public void display()
	{
		System.out.print(i);
	}
}

class Derived extends Base
{
	
	private int i = 22;
	
	public Derived()
	{
		i = 222;
	}
	
	
	public void display()
	{
		System.out.print(i);
	}
}

public class TestDerived {
	public static void main(String[] args)
	{
		new Derived();
	}
}
